package com.sh.data.engine.domain.dataquality.model.domain;

import com.sh.data.engine.domain.base.model.PageResult;
import com.sh.data.engine.repository.dao.dataquality.entity.DataQualityJobRuleFieldEntity;
import lombok.Data;

/**
 * @author tinglan.ys
 * @description:
 * @date 2022/2/17 下午6:18
 */
@Data
public class DataqualityJobMonitorDomain {

    //    @ApiModelProperty(value = "表名")
    private String tableName;

    //    @ApiModelProperty(value = "监控结果分页信息")
    private PageResult<DataqualityJobRuleFieldExt> pageInfo;

    @Data
//    @ApiModel
    public static class DataqualityJobRuleFieldExt extends DataQualityJobRuleFieldEntity {

        //        @ApiModelProperty(value = "规则名")
        private String ruleName;

        //        @ApiModelProperty(value = "比较方式")
        private String compareType;

        //        @ApiModelProperty(value = "期望值")
        private String expectValue;

        //        @ApiModelProperty(value = "规则来源，0-标准模版规则 1-内置模版规则")
        private Integer ruleForm;
    }
}
